package com.itheima.object3;

public class TestStudent {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setName("张三");
        stu.setAge(18);
        System.out.println(stu.getName());
        System.out.println(stu.getAge());

        Student stu1 = new Student("李四",21);
        System.out.println(stu1.getName());
        System.out.println(stu1.getAge());
    }

}
